package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-OSPFV2进程配置-AS引入外部路由对象 element_ospfv2_asroute
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementOspfv2Asroute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** ospfv2Id */
    private String ospfv2Id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ip;

    /** 掩码 */
    @Excel(name = "掩码")
    private String mask;

    /** 分发使能 */
    @Excel(name = "分发使能")
    private String distributeEnable;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setMask(String mask) 
    {
        this.mask = mask;
    }

    public String getMask() 
    {
        return mask;
    }
    public void setDistributeEnable(String distributeEnable) 
    {
        this.distributeEnable = distributeEnable;
    }

    public String getDistributeEnable() 
    {
        return distributeEnable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getOspfv2Id() {
        return ospfv2Id;
    }

    public void setOspfv2Id(String ospfv2Id) {
        this.ospfv2Id = ospfv2Id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
                .append("ospfv2Id", getOspfv2Id())
            .append("elementId", getElementId())
            .append("ip", getIp())
            .append("mask", getMask())
            .append("distributeEnable", getDistributeEnable())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
